package org.jwcloud.project.module.zx.info.service;

import java.io.Serializable;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import org.jwcloud.project.module.zx.db.domain.RtaProTaskInfo;
import org.jwcloud.project.module.zx.db.domain.RtaTaskSzInfo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jw.mid.mm.comm.common.domain.DomainModel;

public class TodoListTree implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String id;

	private String name;
	// { key: '01', value: '未开始' },
	// { key: '02', value: '已开始' },
	// { key: '03', value: '已完成' },
	private String status;

	private String appPhase;
	// 是否是工作 1 是 0 否
	private String isWork = "0";
	// 是否是任务 1 是 0 否
	private String isTask = "0";
	// 是否需要审批 1 是 0 否
	private String needApproved;
	// 是否审批 
	private String spFlag;
	// 任务配置表ID
	private Integer taskPzId;
	// 任务设置表ID
	private Integer taskSzId;
	//任务开始时间
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date taskStartDate;
	//任务完成时间
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date taskDoneDate;
	//任务配置信息
	private RtaProTaskInfo rtaProTaskInfo;
	//任务设置信息
	private RtaTaskSzInfo rtaTaskSzInfo;
	// 是否有更新要件
	private String haveNewItem;
	// 是否是责任部门 0 ：不是  1 ：是
	private String isDutyDept;
	/**
	 * 上传次数限制
	 */
	private String uploadLimit;
	
	private List<TodoListTree> subList = new ArrayList<TodoListTree>();

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<TodoListTree> getSubList() {
		return subList;
	}

	public void setSubList(List<TodoListTree> subList) {
		this.subList = subList;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getAppPhase() {
		return appPhase;
	}

	public void setAppPhase(String appPhase) {
		this.appPhase = appPhase;
	}

	public String getIsWork() {
		return isWork;
	}

	public void setIsWork(String isWork) {
		this.isWork = isWork;
	}

	public String getIsTask() {
		return isTask;
	}

	public void setIsTask(String isTask) {
		this.isTask = isTask;
	}

	public String getSpFlag() {
		return spFlag;
	}

	public void setSpFlag(String spFlag) {
		this.spFlag = spFlag;
	}

	public Integer getTaskPzId() {
		return taskPzId;
	}

	public void setTaskPzId(Integer taskPzId) {
		this.taskPzId = taskPzId;
	}

	public Integer getTaskSzId() {
		return taskSzId;
	}

	public void setTaskSzId(Integer taskSzId) {
		this.taskSzId = taskSzId;
	}

	public String getNeedApproved() {
		return needApproved;
	}

	public void setNeedApproved(String needApproved) {
		this.needApproved = needApproved;
	}

	public Date getTaskStartDate() {
		return taskStartDate;
	}

	public void setTaskStartDate(java.util.Date date) {
		this.taskStartDate = date;
	}

	public Date getTaskDoneDate() {
		return taskDoneDate;
	}

	public void setTaskDoneDate(Date taskDoneDate) {
		this.taskDoneDate = taskDoneDate;
	}

	public RtaProTaskInfo getRtaProTaskInfo() {
		return rtaProTaskInfo;
	}

	public void setRtaProTaskInfo(RtaProTaskInfo rtaProTaskInfo) {
		this.rtaProTaskInfo = rtaProTaskInfo;
	}

	public RtaTaskSzInfo getRtaTaskSzInfo() {
		return rtaTaskSzInfo;
	}

	public void setRtaTaskSzInfo(RtaTaskSzInfo rtaTaskSzInfo) {
		this.rtaTaskSzInfo = rtaTaskSzInfo;
	}

	public String getHaveNewItem() {
		return haveNewItem;
	}

	public void setHaveNewItem(String haveNewItem) {
		this.haveNewItem = haveNewItem;
	}

	public String getIsDutyDept() {
		return isDutyDept;
	}

	public void setIsDutyDept(String isDutyDept) {
		this.isDutyDept = isDutyDept;
	}

	public String getUploadLimit() {
		return uploadLimit;
	}

	public void setUploadLimit(String uploadLimit) {
		this.uploadLimit = uploadLimit;
	}

}
